//
//  ComposeController.swift
//  Practice
//
//  Created by miaozhihui on 2017/3/10.
//  Copyright © 2017年 DeKuTree. All rights reserved.
//  撰写微博控制器

import UIKit

class ComposeController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        view.backgroundColor = UIColor.xs_random()
        
        navigationItem.leftBarButtonItem = UIBarButtonItem(title: "退出", target: self, action: #selector(close))
    }
    
    @objc private func close() {
        dismiss(animated: true, completion: nil)
    }

}
